
IF (PYTHON_EXECUTABLE)

ADD_TEST(NAME test_python_images COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/test_images.py WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
set_tests_properties(test_python_images PROPERTIES ENVIRONMENT "LD_LIBRARY_PATH=${CMAKE_BINARY_DIR};PYTHONPATH=${PYTHONPATH}:${CMAKE_BINARY_DIR}/python/")





ENDIF()